package com.qumitech.visualnovel.pubdef.dto.match;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/*
"uid": 14001,
                "user_name": "用户名",
                "game_id": "游戏id",
                "game_name": "游戏名",
                "signup_time": "2021-01-11 00:00:00", // 报名时间
                "master_uid": 14002, // 师父uid
                "profit": 10, // 总收益 单位 人民币分
                "result_desc": "{"rank": 1; "beat": 10; "rank_profit": 5, "beat_profit": 5}", // 结果描述 json字符串格式
 */
public class UserMatchResultDTO {
    private Long uid;
    @JSONField(name = "user_name")
    private String userName;
    @JSONField(name = "game_id")
    private String gameId;
    @JSONField(name = "game_name")
    private String gameName;
    @JSONField(name = "signup_time")
    private Date signupTime;
    @JSONField(name = "master_uid")
    private Long masterUid;
    private Long profit;
    @JSONField(name = "result_desc")
    private String resultDesc;

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getGameId() {
        return gameId;
    }

    public void setGameId(String gameId) {
        this.gameId = gameId;
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    public Date getSignupTime() {
        return signupTime;
    }

    public void setSignupTime(Date signupTime) {
        this.signupTime = signupTime;
    }

    public Long getMasterUid() {
        return masterUid;
    }

    public void setMasterUid(Long masterUid) {
        this.masterUid = masterUid;
    }

    public Long getProfit() {
        return profit;
    }

    public void setProfit(Long profit) {
        this.profit = profit;
    }

    public String getResultDesc() {
        return resultDesc;
    }

    public void setResultDesc(String resultDesc) {
        this.resultDesc = resultDesc;
    }
}
